package Scheduler;

public class DemoScheduler {

	public static void main(String[] args) 
	{
		Human human = new Human("Fred");
		Car car = new Car("Nissan");
		Animal cat = new Cat("Rijko");
		Dog dog = new Dog("Jhony");
		
		Scheduler sch = new Scheduler();
		
		sch.push(human);
		sch.push(car);
		sch.push(cat);
		sch.push(dog);
				
		sch.main();
		
		Task sq = new SquareArea(2);
		sch.push(sq);
		
		sch.main();
		
		sch.deleteTask(1);
		sch.main();
		
		sch.push(human);
		sch.main();
		
	}

}
